package com.xquant.pricing.calc.entity;

/**
 * @Author B946
 * @Date 18:40 2021/3/22
 * @Description //请求代码枚举
 **/
public enum RequestCodeEnum {
    CALC_MARKET("calcMarket", "市场计算"),
    CALC_SCENE("calcScene", "情景计算"),
    CALC_PAYMENTINFO("calcPaymentInfo", "现金流计算"),
    READ_FIXINGDATES("readFixingDates", "定盘日序列"),
    CALC_ACCRUALDETAIL("calcAccrualDetail", "计息明细计算"),
    CALC_MATURITY_PAYMENT("calcMaturityPayment", "到期现金流计算"),
    CALC_TRIAL("calcTrial", "试算"),
    CALC_ASSETDETAIL("calcAssetDetail", "实物明细计算");

    private String code;
    private String desc;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    RequestCodeEnum(String code, String desc) {
        this.desc = desc;
        this.code = code;
    }
}
